import request from "@/utils/request";

//获取表情分类列表服务
export const expClassListService = (params) => {
  return request.get("/admin/sticker-category/pages", { params });
};

// 新增表情分类服务
export const expClassAddService = (data) => {
  return request.post("/admin/sticker-category/save", data);
};

// 删除表情分类服务
export const expClassDeleteService = (data) => {
  return request.delete("/admin/sticker-category/batchRemove", { data });
};

// 更新表情分类服务
export const expClassUpdateService = (data) => {
  return request.put("/admin/sticker-category/update", data);
};

// 获取表情分类详情服务
export const expClassDetailService = (id) => {
  return request.get(`/admin/sticker-category/get/${id}`);
};

// 修改表情分类状态
export const expClassUpdateStatusService = (id, status) => {
  return request.put(`/admin/sticker-category/updateStatus/${id}/${status}`);
};
